<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DAQ_LOG: daq::RollFileAppender Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">DAQ_LOG
   </div>
   <div id="projectbrief">logger</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>daq</b></li><li class="navelem"><a class="el" href="classdaq_1_1RollFileAppender.html">RollFileAppender</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classdaq_1_1RollFileAppender-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">daq::RollFileAppender Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>滚动输出到文件  
 <a href="classdaq_1_1RollFileAppender.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="appender_8hpp_source.html">appender.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for daq::RollFileAppender:</div>
<div class="dyncontent">
<div class="center"><img src="classdaq_1_1RollFileAppender__inherit__graph.png" border="0" usemap="#daq_1_1RollFileAppender_inherit__map" alt="Inheritance graph"/></div>
<!-- MAP 0 -->
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for daq::RollFileAppender:</div>
<div class="dyncontent">
<div class="center"><img src="classdaq_1_1RollFileAppender__coll__graph.png" border="0" usemap="#daq_1_1RollFileAppender_coll__map" alt="Collaboration graph"/></div>
<!-- MAP 1 -->
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2bf4e22ee17d673a2541e2bd658cc260"><td class="memItemLeft" align="right" valign="top"><a id="a2bf4e22ee17d673a2541e2bd658cc260"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1RollFileAppender.html#a2bf4e22ee17d673a2541e2bd658cc260">RollFileAppender</a> ()=default</td></tr>
<tr class="memdesc:a2bf4e22ee17d673a2541e2bd658cc260"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认构造函数 <br /></td></tr>
<tr class="separator:a2bf4e22ee17d673a2541e2bd658cc260"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca76aebe714fc6c86e9392f3d9753306"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1RollFileAppender.html#aca76aebe714fc6c86e9392f3d9753306">RollFileAppender</a> (const std::string &amp;path, u_int32_t size=8, const std::string &amp;prefix=&quot;&quot;, const std::string &amp;subfix=&quot;&quot;)</td></tr>
<tr class="memdesc:aca76aebe714fc6c86e9392f3d9753306"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数  <a href="#aca76aebe714fc6c86e9392f3d9753306">More...</a><br /></td></tr>
<tr class="separator:aca76aebe714fc6c86e9392f3d9753306"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ff7f6635612b8ac3be2d4560bf16478"><td class="memItemLeft" align="right" valign="top"><a id="a2ff7f6635612b8ac3be2d4560bf16478"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1RollFileAppender.html#a2ff7f6635612b8ac3be2d4560bf16478">~RollFileAppender</a> ()</td></tr>
<tr class="memdesc:a2ff7f6635612b8ac3be2d4560bf16478"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数 <br /></td></tr>
<tr class="separator:a2ff7f6635612b8ac3be2d4560bf16478"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5042aa4b9e9c2043649eacdfa9f43f6c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1RollFileAppender.html#a5042aa4b9e9c2043649eacdfa9f43f6c">append</a> (LogEvent::sptr event) override</td></tr>
<tr class="memdesc:a5042aa4b9e9c2043649eacdfa9f43f6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">日志输出函数  <a href="#a5042aa4b9e9c2043649eacdfa9f43f6c">More...</a><br /></td></tr>
<tr class="separator:a5042aa4b9e9c2043649eacdfa9f43f6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2baed82dead83a8ff8f616d559d8da7"><td class="memItemLeft" align="right" valign="top"><a id="af2baed82dead83a8ff8f616d559d8da7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1RollFileAppender.html#af2baed82dead83a8ff8f616d559d8da7">createNewFile</a> ()</td></tr>
<tr class="memdesc:af2baed82dead83a8ff8f616d559d8da7"><td class="mdescLeft">&#160;</td><td class="mdescRight">createNewFile 创建新的log文件名，并不打开文件 <br /></td></tr>
<tr class="separator:af2baed82dead83a8ff8f616d559d8da7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d5490176e68cc972c67e12a49a17da2"><td class="memItemLeft" align="right" valign="top"><a id="a8d5490176e68cc972c67e12a49a17da2"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>reopen</b> ()</td></tr>
<tr class="separator:a8d5490176e68cc972c67e12a49a17da2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bc5fac1491f59f46c1fb5ea484ed1db"><td class="memItemLeft" align="right" valign="top"><a id="a3bc5fac1491f59f46c1fb5ea484ed1db"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>closeFile</b> ()</td></tr>
<tr class="separator:a3bc5fac1491f59f46c1fb5ea484ed1db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac58806a64d86b2b56fa778e4a3a3d667"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1RollFileAppender.html#ac58806a64d86b2b56fa778e4a3a3d667">setPath</a> (const std::string &amp;path)</td></tr>
<tr class="memdesc:ac58806a64d86b2b56fa778e4a3a3d667"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置输出目录  <a href="#ac58806a64d86b2b56fa778e4a3a3d667">More...</a><br /></td></tr>
<tr class="separator:ac58806a64d86b2b56fa778e4a3a3d667"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21da274c5787fc3b33e972bb90762d86"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1RollFileAppender.html#a21da274c5787fc3b33e972bb90762d86">setPrefix</a> (const std::string &amp;prefix)</td></tr>
<tr class="memdesc:a21da274c5787fc3b33e972bb90762d86"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置前缀  <a href="#a21da274c5787fc3b33e972bb90762d86">More...</a><br /></td></tr>
<tr class="separator:a21da274c5787fc3b33e972bb90762d86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18c120a62efcc2e5924b7a6450171607"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1RollFileAppender.html#a18c120a62efcc2e5924b7a6450171607">setSubfix</a> (const std::string &amp;subfix)</td></tr>
<tr class="memdesc:a18c120a62efcc2e5924b7a6450171607"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置后缀  <a href="#a18c120a62efcc2e5924b7a6450171607">More...</a><br /></td></tr>
<tr class="separator:a18c120a62efcc2e5924b7a6450171607"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classdaq_1_1Appender"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classdaq_1_1Appender')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classdaq_1_1Appender.html">daq::Appender</a></td></tr>
<tr class="memitem:a9b3533e893e3ece5da794fc2beab0ac7 inherit pub_methods_classdaq_1_1Appender"><td class="memItemLeft" align="right" valign="top"><a id="a9b3533e893e3ece5da794fc2beab0ac7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1Appender.html#a9b3533e893e3ece5da794fc2beab0ac7">Appender</a> ()=default</td></tr>
<tr class="memdesc:a9b3533e893e3ece5da794fc2beab0ac7 inherit pub_methods_classdaq_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classdaq_1_1Appender.html" title="输出器的虚基类 ">Appender</a> 默认构造函数 <br /></td></tr>
<tr class="separator:a9b3533e893e3ece5da794fc2beab0ac7 inherit pub_methods_classdaq_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5d50a2ca7c6aae30513daef6cbcaca1 inherit pub_methods_classdaq_1_1Appender"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1Appender.html#ad5d50a2ca7c6aae30513daef6cbcaca1">Appender</a> (const <a class="el" href="classdaq_1_1Formatter.html">Formatter</a> formatter)</td></tr>
<tr class="memdesc:ad5d50a2ca7c6aae30513daef6cbcaca1 inherit pub_methods_classdaq_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数  <a href="classdaq_1_1Appender.html#ad5d50a2ca7c6aae30513daef6cbcaca1">More...</a><br /></td></tr>
<tr class="separator:ad5d50a2ca7c6aae30513daef6cbcaca1 inherit pub_methods_classdaq_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcee3779831c8ef79f6d878c957e20eb inherit pub_methods_classdaq_1_1Appender"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1Appender.html#adcee3779831c8ef79f6d878c957e20eb">Appender</a> (const std::string &amp;formatter)</td></tr>
<tr class="memdesc:adcee3779831c8ef79f6d878c957e20eb inherit pub_methods_classdaq_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数  <a href="classdaq_1_1Appender.html#adcee3779831c8ef79f6d878c957e20eb">More...</a><br /></td></tr>
<tr class="separator:adcee3779831c8ef79f6d878c957e20eb inherit pub_methods_classdaq_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2d27dffb18f066c342ce6f5d7c15cfb inherit pub_methods_classdaq_1_1Appender"><td class="memItemLeft" align="right" valign="top">const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1Appender.html#ad2d27dffb18f066c342ce6f5d7c15cfb">getId</a> () const</td></tr>
<tr class="memdesc:ad2d27dffb18f066c342ce6f5d7c15cfb inherit pub_methods_classdaq_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight">getId 得到Appender的id 避免相同LogAppender加入到Logger，使得重复输出  <a href="classdaq_1_1Appender.html#ad2d27dffb18f066c342ce6f5d7c15cfb">More...</a><br /></td></tr>
<tr class="separator:ad2d27dffb18f066c342ce6f5d7c15cfb inherit pub_methods_classdaq_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a195556a18fb389e8bd9025a5bf9fd3 inherit pub_methods_classdaq_1_1Appender"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1Appender.html#a7a195556a18fb389e8bd9025a5bf9fd3">setFormatter</a> (Formatter::sptr formatter)</td></tr>
<tr class="memdesc:a7a195556a18fb389e8bd9025a5bf9fd3 inherit pub_methods_classdaq_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置输出格式  <a href="classdaq_1_1Appender.html#a7a195556a18fb389e8bd9025a5bf9fd3">More...</a><br /></td></tr>
<tr class="separator:a7a195556a18fb389e8bd9025a5bf9fd3 inherit pub_methods_classdaq_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcc428ec459cc4534748e5184d5b597a inherit pub_methods_classdaq_1_1Appender"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1Appender.html#adcc428ec459cc4534748e5184d5b597a">hasFormatter</a> ()</td></tr>
<tr class="memdesc:adcc428ec459cc4534748e5184d5b597a inherit pub_methods_classdaq_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断是否已经有了Formatter  <a href="classdaq_1_1Appender.html#adcc428ec459cc4534748e5184d5b597a">More...</a><br /></td></tr>
<tr class="separator:adcc428ec459cc4534748e5184d5b597a inherit pub_methods_classdaq_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf5f9f703a7a9ea7767072dc36055ad4 inherit pub_methods_classdaq_1_1Appender"><td class="memItemLeft" align="right" valign="top"><a id="abf5f9f703a7a9ea7767072dc36055ad4"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1Appender.html#abf5f9f703a7a9ea7767072dc36055ad4">~Appender</a> ()=default</td></tr>
<tr class="memdesc:abf5f9f703a7a9ea7767072dc36055ad4 inherit pub_methods_classdaq_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数 <br /></td></tr>
<tr class="separator:abf5f9f703a7a9ea7767072dc36055ad4 inherit pub_methods_classdaq_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classdaq_1_1Appender"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classdaq_1_1Appender')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classdaq_1_1Appender.html">daq::Appender</a></td></tr>
<tr class="memitem:a569d81c70040c4ea15b1f509cc892392 inherit pub_types_classdaq_1_1Appender"><td class="memItemLeft" align="right" valign="top"><a id="a569d81c70040c4ea15b1f509cc892392"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>sptr</b> = std::shared_ptr&lt; <a class="el" href="classdaq_1_1Appender.html">Appender</a> &gt;</td></tr>
<tr class="separator:a569d81c70040c4ea15b1f509cc892392 inherit pub_types_classdaq_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classdaq_1_1Appender"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classdaq_1_1Appender')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classdaq_1_1Appender.html">daq::Appender</a></td></tr>
<tr class="memitem:a398701fbfcfbab202028a8a7b75c1924 inherit pro_attribs_classdaq_1_1Appender"><td class="memItemLeft" align="right" valign="top"><a id="a398701fbfcfbab202028a8a7b75c1924"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>m_id</b> = &quot;Appender&quot;</td></tr>
<tr class="separator:a398701fbfcfbab202028a8a7b75c1924 inherit pro_attribs_classdaq_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a979f064588deb08a3b16da20174822 inherit pro_attribs_classdaq_1_1Appender"><td class="memItemLeft" align="right" valign="top"><a id="a2a979f064588deb08a3b16da20174822"></a>
Formatter::sptr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdaq_1_1Appender.html#a2a979f064588deb08a3b16da20174822">m_formatter</a></td></tr>
<tr class="memdesc:a2a979f064588deb08a3b16da20174822 inherit pro_attribs_classdaq_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight">避免相同LogAppender加入到Logger，使得重复输出 <br /></td></tr>
<tr class="separator:a2a979f064588deb08a3b16da20174822 inherit pro_attribs_classdaq_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02ba079647d8aa34dd94823dc0cfa6dc inherit pro_attribs_classdaq_1_1Appender"><td class="memItemLeft" align="right" valign="top"><a id="a02ba079647d8aa34dd94823dc0cfa6dc"></a>
std::mutex&#160;</td><td class="memItemRight" valign="bottom"><b>m_appendMutex</b></td></tr>
<tr class="separator:a02ba079647d8aa34dd94823dc0cfa6dc inherit pro_attribs_classdaq_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>滚动输出到文件 </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aca76aebe714fc6c86e9392f3d9753306"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca76aebe714fc6c86e9392f3d9753306">&#9670;&nbsp;</a></span>RollFileAppender()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">daq::RollFileAppender::RollFileAppender </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u_int32_t&#160;</td>
          <td class="paramname"><em>size</em> = <code>8</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>prefix</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>subfix</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造函数 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>日志存放目录 </td></tr>
    <tr><td class="paramname">size</td><td>文件大小 </td></tr>
    <tr><td class="paramname">prefix</td><td>文件前缀 </td></tr>
    <tr><td class="paramname">subfix</td><td>文件后缀 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a5042aa4b9e9c2043649eacdfa9f43f6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5042aa4b9e9c2043649eacdfa9f43f6c">&#9670;&nbsp;</a></span>append()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void daq::RollFileAppender::append </td>
          <td>(</td>
          <td class="paramtype">LogEvent::sptr&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>日志输出函数 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">日志事件</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classdaq_1_1Appender.html#a66e8f896daf7ad4a82769949b351b994">daq::Appender</a>.</p>

</div>
</div>
<a id="ac58806a64d86b2b56fa778e4a3a3d667"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac58806a64d86b2b56fa778e4a3a3d667">&#9670;&nbsp;</a></span>setPath()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void daq::RollFileAppender::setPath </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置输出目录 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">输出目录</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a21da274c5787fc3b33e972bb90762d86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21da274c5787fc3b33e972bb90762d86">&#9670;&nbsp;</a></span>setPrefix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void daq::RollFileAppender::setPrefix </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>prefix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置前缀 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">前缀</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a18c120a62efcc2e5924b7a6450171607"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18c120a62efcc2e5924b7a6450171607">&#9670;&nbsp;</a></span>setSubfix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void daq::RollFileAppender::setSubfix </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>subfix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置后缀 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">后缀</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="appender_8hpp_source.html">appender.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
